<?php
class ProgramTypeEntity extends AbstractEntity {
    
    public function __construct($valueMap) {
        parent::__construct(
                
                /* table */
                'program_type',
                
                /* field names */
                array(
                    'code',
                    'code_part',
                    'order_number',
                    'with_accommodation',
                    'single_days_only'
                ),
                
                /* primary keys */
                'code',
                
                /* values */
                $valueMap
        );
    }
}
